package com.bootdo.acitvity.test;

import org.apache.ibatis.javassist.ClassPool;
import org.apache.ibatis.javassist.CtClass;
import org.apache.ibatis.javassist.CtField;

public class MyClassGenerator {
    public static void main(String[] args) throws Exception{
        ClassPool classPool = ClassPool.getDefault();
        CtClass ctClass = classPool.get("com.bootdo.acitvity.po.UserRoleDO");
        CtField userId = ctClass.getDeclaredField("userId");
    }
}
